# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=nymphrpc
pkgver=0.1
pkgrel=6
arch="all"
url="https://github.com/MayaPosch/NymphRPC"
pkgdesc="Versatile and fast remote procedure call library"
license="BSD-3-Clause"
depends_dev="poco-dev"
makedepends="$depends_dev"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="https://github.com/MayaPosch/NymphRPC/archive/v$pkgver/nymphrpc-v$pkgver.tar.gz"
options="!check" # No unit tests
builddir="$srcdir/NymphRPC-$pkgver"

build() {
	make
}

package() {
	DESTDIR="$pkgdir" PREFIX="/usr" make install
	mkdir -p "$pkgdir"/usr/share/doc
	cp -r doc/* "$pkgdir"/usr/share/doc/
}

sha512sums="
10be8dd22da1fe67fbdf7711ded8963ceb796498982de935816912cc5a11be3a71d34e8403abde66f4ef8d9d47650222d1c806912488d610e4bd491630ed2343  nymphrpc-v0.1.tar.gz
"
